<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://" + request.getServerName() + ":"
      + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="Keywords" content="关键词1,关键词2，关键词3,关键词4,……" />
<meta name="Description" content="你网页的简述" />
<meta name="Robots" content="All" />
<meta name="Generator" content="Dreamweaver" />
<title>学生领书―编辑套书</title>
<link href="<%=path%>/static/css/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {color: #0000FF}
.STYLE2 {color: #EFF7FF}
-->
</style>
</head>

<body>
<h3 id="subTitle">学生领书―编辑套书</h3>
<form name="" method="post" action="<%=path%>/packageBookServlet?status=add">
<table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0" class="table">
  <tr>
    <td width="15%" align="right" class="title2">学年：</td>
    <td width="85%" class="within2bg">&nbsp;
      <select name="academicYear">
        <option value="2001-2002">2001-2002</option>
        <option value="2002-2003">2002-2003</option>
        <option value="2003-2004">2003-2004</option>
		<option value="2004-2005">2004-2005</option>
		<option value="2005-2006">2005-2006</option>
		<option value="2006-2007">2006-2007</option>
		<option value="2007-2008">2007-2008</option>
		<option value="2008-2009">2008-2009</option>
		<option value="2009-2010">2009-2010</option>
      </select></td>
  </tr>
  <tr>
    <td align="right" class="title2">学期：</td>
    <td colspan="3" class="within2bg">&nbsp;
        <select name="semester">
	<option value="上">上</option>
	<option value="下">下</option>
	</select></td>
  </tr>
  <tr>
    <td align="right" class="title2">类别：</td>
    <td colspan="3" class="within2bg">&nbsp;
               <select name="category" >
				<option selected="selected" value="null">请选择类别</option>
				<c:forEach var="category" items="${requestScope.clist }" varStatus="id">
				<option value="${category.getId()}">${category.getName()}</option>
				</c:forEach>
		</select></td>
  </tr>
  <tr>
    <td align="right" class="title2">专业：</td>
    <td colspan="3" class="within2bg">&nbsp;
         <select name="major">
				<option selected="selected" value="null">请选择专业</option>
				<c:forEach var="major" items="${requestScope.mlist }" varStatus="id">
				<option value="${major.getId()}">${major.getName()}</option>
				</c:forEach>
			</select></td>
  </tr>
  <tr>
    <td align="right" class="title2">层次：</td>
    <td colspan="3" class="within2bg">&nbsp;
        <select name="level" >
				<option selected="selected">请选择层次</option>
				<c:forEach var="level" items="${requestScope.llist }" varStatus="id">
				<option value="${level.getId()}">${level.getName()}</option>
				</c:forEach>
				</select></td>
  </tr>
  <tr>
    <td align="right" class="title2">年级：</td>
    <td colspan="3" class="within2bg">&nbsp;
        <select name="grade">
        		<option selected="selected">请选择年级</option>
				<option value="2004">2004</option>
				<option value="2004">2005</option>
				<option value="2004">2006</option>
				<option value="2004">2007</option>			
				<option value="2004">2008</option>
				<option value="2004">2009</option>
				<option value="2004">2010</option>
				<option value="2004">2011</option>
				<option value="2004">2012</option>
				<option value="2004">2013</option>
				<option value="2004">2014</option>
				<option value="2004">2015</option>
				<option value="2004">2016</option>
				<option value="2004">2017</option>
				<option value="2004">2018</option>
				<option value="2004">2019</option>
				<option value="2004">2020</option>
	</select></td>
  </tr>
  <tr>
    <td align="right" valign="top" class="title2">描述：</td>
    <td colspan="3" valign="middle" class="within2bg"><input name="remark" type="text" class="input2" value="" size="40" maxlength="40" /></td>
  </tr>
  <tr>
    <td align="right" class="title2">教材：</td>
    <td colspan="3" class="within2bg">&nbsp;
      <a href="<%=path%>/textBookServlet?status=list&pre=add&currentPage=0&page=add" class="STYLE1">增加教材</a></td>
  </tr>
</table>
<table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0" class="yesno">
  <tr>
    <td align="center"><input name="Submit2" type="submit" class="input2" value="确定" />
      &nbsp;&nbsp;
      <input name="Submit3" type="reset" class="input2" value="取消" /></td>
  </tr>
</table>
</form>
<hr width="94%" class="xieyi" />
<table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0" class="table" style="margin-top:10px;">
    <tr>
      <th width="21%" align="center" nowrap="nowrap" class="title2">教材名称</th>
      <th width="10%" align="center" nowrap="nowrap" class="title2">作者</th>
      <th width="21%" align="center" nowrap="nowrap" class="title2">出版社</th>
      <th width="10%" align="center" nowrap="nowrap" class="title2">单价</th>
      <th width="7%" align="center" nowrap="nowrap" class="title2">操作</th>
    </tr>
    <c:forEach var="textBook" items="${sessionScope.tbs }" varStatus="id">
    <tr class="within2bg">
      <td align="center">${textBook.getName()}</td>
      <td align="center">${textBook.getAuthor() }</td>
      <td align="center">${textBook.getPublishCompany() }</td>
      <td align="center">${textBook.getPrice() }</td>
      <td align="center">删除</td>
    </tr>
    </c:forEach>
</table>

</body>
</html>